//
//  NSMutableAttributedString+AttributedStringConfig.h
//  MyFunctionDemo
//
//  Created by Ting Han on 2017/9/1.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AttributedStringConfig.h"

@interface NSMutableAttributedString (AttributedStringConfig)

+ (instancetype)mutableAttributedStringWithString:(NSString *)string config:(void (^)(NSString *string, NSMutableArray <AttributedStringConfig *> *configs))configBlock;

- (void)addStringAttribute:(AttributedStringConfig *)stringAttribute;

- (void)removeStringAttribute:(AttributedStringConfig *)stringAttribute;



@end
